<template>
    <el-container>
        <el-aside>
            <Navigation/>
        </el-aside>
        <el-main class="data-main">
            <router-view/>
        </el-main>
    </el-container>
</template>

<script>
    import Navigation from '../navigation/Navigation'

    export default {
        name: "index",
        data() {
            return {
                activeHeader: false,
                navWidth: 64,
                navStyle: {
                    width: "calc(100% - " + this.navWidth + 'px' + ")",
                    height: "100%",
                    marginLeft: +this.navWidth + 'px ',
                }
            }
        },

        components: {
            Navigation,
        },
        mounted() {
        },
        computed: {},
        methods: {}
    }
</script>

<style scoped>
    .el-aside {
        height: 100%;
        position: absolute;
        top: 0px;
        left: 0px;
        width: 200px !important;
    }

    .el-container {
        width: 100%;
        height: 100%;
    }

    .el-main {
        width: 100%;
        height: 100%;
        padding: unset;
        margin-left: 200px;
    }

</style>
